Regular local variables in source code are defined within a block , which may be the entire method body or some nested block 源代碼中一般的本地變量都定義在一個(gè)塊中,這個(gè)塊可能是一個(gè)完整的方法體或者是一個(gè)嵌套塊。
A local variable , already declared in an enclosing block and therefore visible in a nested block , cannot be redeclared in the nested block 一個(gè)語(yǔ)句塊里的變量,可以被其他語(yǔ)句塊再次聲明,但是不可以在嵌套語(yǔ)句塊聲明,但是在嵌套塊里他是可視的。
nested blockとは意味:ネスト化されたブロック、入れ子ブロック With SuperEditor version 2.0, nested blocks are easily identified. SuperEditor を使えば、ネスト化されたブロックの位置が簡(jiǎn)単に見(jiàn)つかる。